// 编写好规则
export const rules = {
  publisher: [
    {
      required: true,
      message: '发布者不能为空!',
      trigger: 'blur'
    }
  ],
  subscriber: [
    {
      required: true,
      message: '接收者不能为空!',
      trigger: 'blur'
    }
  ],
  pub_date: [
    {
      required: true,
      message: '发布日期不能为空!',
      trigger: 'blur'
    }
  ],
  title: [
    {
      required: true,
      message: '公告标题不能为空!',
      trigger: 'blur'
    }
  ]
}
